package com.jjb.www.http.api;

import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 * @author CRG
 * @date :2024/1/22 15:34
 * @description:
 */
public class ClockLogDateListApi implements IRequestApi {
    private String mech_id;
    private String mech_training_sentry_id;
    private String mech_training_plan_id;
    private String student_id;
    private String years;

    public ClockLogDateListApi setMech_id(String mech_id) {
        this.mech_id = mech_id;
        return this;
    }

    public ClockLogDateListApi setMech_training_sentry_id(String mech_training_sentry_id) {
        this.mech_training_sentry_id = mech_training_sentry_id;
        return this;
    }

    public ClockLogDateListApi setMech_training_plan_id(String mech_training_plan_id) {
        this.mech_training_plan_id = mech_training_plan_id;
        return this;
    }

    public ClockLogDateListApi setStudent_id(String student_id) {
        this.student_id = student_id;
        return this;
    }

    public ClockLogDateListApi setYears(String years) {
        this.years = years;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/mech/v2/training/clockLogDateList";
    }
    public static class Bean{

        private UserInfoDTO user_info;
        private List<ListDTO> list;

        public UserInfoDTO getUser_info() {
            return user_info;
        }

        public void setUser_info(UserInfoDTO user_info) {
            this.user_info = user_info;
        }

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public static class UserInfoDTO {
            private String startDate;
            private String endDate;
            private String clock_date;
            private String nickname;
            private String img;

            public String getStartDate() {
                return startDate;
            }

            public void setStartDate(String startDate) {
                this.startDate = startDate;
            }

            public String getEndDate() {
                return endDate;
            }

            public void setEndDate(String endDate) {
                this.endDate = endDate;
            }

            public String getClock_date() {
                return clock_date;
            }

            public void setClock_date(String clock_date) {
                this.clock_date = clock_date;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }
        }

        public static class ListDTO {
            private String years;
            private String day;
            private Integer is_clock_day;

            public String getYears() {
                return years;
            }

            public void setYears(String years) {
                this.years = years;
            }

            public String getDay() {
                return day;
            }

            public void setDay(String day) {
                this.day = day;
            }

            public Integer getIs_clock_day() {
                return is_clock_day;
            }

            public void setIs_clock_day(Integer is_clock_day) {
                this.is_clock_day = is_clock_day;
            }
        }
    }
}
